package com.fanbuchi.app.ins.utils;

import android.content.Context;
import android.util.DisplayMetrics;
import android.view.WindowManager;

import com.fanbuchi.app.ins.app.Started;

/**
 * Created by rabbit on 2016/3/16.
 */
public class ScreenHelper {

    public static DisplayMetrics getScreenInfo(){
        DisplayMetrics dm = new DisplayMetrics();
        ((WindowManager) Started.getInstance().getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay().getMetrics(dm);
       return dm;
    }
}
